Search a users mailbox for a "missing" email
Is there a command line or script used to locate an email that a user claims was moved or never came in, yet the server states it was delivered? 

I am basically looking for a way to search a users mailbox thru command or powershell and have it display the folder/path in Outlook where the message was dragged to accidentally. 

I tried the Search-Mailbox -Identity "Fred Flintstone" -SearchQuery 'from:BarneyR@BedrockQuarryandGravel.com' but I don't want to delete or export the message, just find the path where its located in Outlook. 

Thanks in advance. 
April 6th, 2015 2:33pm

Use Search-Mailbox with the -EstimateResultOnly parameter. Also, setting the LogLevel full and copying the results to another mailbox will tell you where the message is and whether it has been read.
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2015 4:30pm

Use Search-Mailbox with the -EstimateResultOnly parameter. Also, setting the LogLevel full and copying the results to another mailbox will tell you where the message is and whether it has been read.
April 6th, 2015 8:28pm

Hi,

Try this command:

Search-Mailbox -Identity "Fred Flintstone" -SearchQuery 'from:BarneyR@BedrockQuarryandGravel.com' -TargetMailbox your mailbox -TargetFolder folder name -logLevel Full

This command just copy the message from source mailbox as attachment to target mailbox with full log level. Then you can open that attachment to see more details.

Note: we cannot use the EstimateResultOnly switch with the TargetMailbox and Loglevel parameter.

Best Re

Free Windows Admin Tool Kit Click here and download it now
April 7th, 2015 3:10am

Were you able to find the message?
April 16th, 2015 8:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics